<?
$this->headTitle('Log Viewer');
$this->headMeta('logs, irclog, irc, archive, discussions', 'Keywords');
/*
$this->dojo()->requireModule('dijit.layout.BorderContainer')
             ->requireModule('dijit.layout.ContentPane')
             ->requireModule('dijit.layout.TabContainer')
             ->requireModule('dijit.Tree')
             ->requireModule('dojo.data.ItemFileReadStore');
?>
<div>
    <h1>Log Viewer</h1>

    <div dojoType="dijit.layout.BorderContainer" style="width: 100%; height: 500px;">
        <div dojoType="dijit.layout.ContentPane" region="center" style="padding: 10px;">
            Select a page from the archives or search for some content.
        </div>

        <div dojoType="dijit.layout.TabContainer" region="left" splitter="true" minSize="50" style="width: 200px;">
            <div dojoType="dijit.layout.ContentPane" title="Archive">
                <div dojoType="dojo.data.ItemFileReadStore" jsId="archiveStore" url="<?= $this->simpleUrl('view', 'logs', null, array('format' => 'json')); ?>"></div>
                <div dojoType="dijit.tree.ForestStoreModel" jsId="archiveModel"
                     store="archiveStore"
                     rootId="data" rootLabel="#zftalk.dev" childrenAttrs="children"></div>

                <div dojoType="dijit.Tree" model="archiveModel" openOnClick="true"></div>
            </div>

            <div dojoType="dijit.layout.ContentPane" title="Search">

            </div>
        </div>
    </div>
</div>*/
?>
<div>
    <h1>Logs</h1>

    <p>
        Logs are provided as a convenience to conversations that may
        be useful to reference. Discussions should not be taken seriously due
        to the nature of IRC chat.
    </p>

    <p>
        Currently only #zftalk.dev is logged as to keep the environment of our
        main channel #zftalk relaxed.
    </p>

    <ul>
        <li><a href="<?= $this->simpleUrl('view', 'logs'); ?>">View Archive</a></li>
        <li><a href="<?= $this->simpleUrl('search', 'logs'); ?>">Search Archive</a></li>
    </ul>
</div>